import React, { Component } from 'react';

import renderRoutes from "./renderRoutes"

class RouterItem extends Component {
    state = {}
    render() {
        return (
            <div>
                {renderRoutes(this.props.routes)}
            </div>
        );
    }
}

export default RouterItem;
